// pages/my_orchard/my_orchard.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    order: [
      {
        name: "待付款",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/daifukuan.png"
      },
      {
        name: "待发货",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/daifahuo.png"
      },
      {
        name: "待收货",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/daishouhuo.png"
      },
      {
        name: "待评价",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/daipinjia.png"
      },
      {
        name: "退换货",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/tuihuanhuo.png"
      }
    ],
    tool: [
      {
        name: "企业服务",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/qiyefuwu.png"
      },
      {
        name: "卡券中心",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/kaquanzhongxin.png"
      },
      {
        name: "在线客服",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/zaixiankefu.png"
      },
      {
        name: "地址管理",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/dizhiguanli.png"
      },
      {
        name: "天天新鲜屋",
        img: "https://gitee.com/yuexiayuhui/fruitday_Optimization/raw/master/images/%E6%88%91%E7%9A%84/%E4%B8%BB%E9%A1%B5/tiantianxinxianwu.png"
      }
    ]
  },


  // 方法
  order(e) {
    wx.navigateTo({
      url: '/community/order/order',
    })
  },



  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})
